import {request} from "../utils/request";

export function queryBlogCategoryList(data: any) {
  return request({
    url: "blogCategory/queryBlogCategoryList",
    method: "post",
    data,
  });
}

export function queryBlogCategoryListByPage(data: any) {
  return request({
    url: "blogCategory/queryBlogCategoryListByPage",
    method: "post",
    data,
  });
}

export function blogCategoryAdd(data: any){
  return request({
      url: "blogCategory/add",
      method: "post",
      data,
    });
}

export function blogCategoryEdit(data: any){
    return request({
        url: "blogCategory/edit",
        method: "post",
        data,
      });
}

export function blogCategoryDel(data: any){
    return request({
        url: "blogCategory/del",
        method: "post",
        data,
      });
}